# $Id: PKGBUILD 144415 2011-12-05 16:00:05Z jgc $
# Maitnainer: Jan de Groot <jgc@archlinux.org>

pkgname=java-access-bridge
pkgver=1.26.2
pkgrel=3
pkgdesc="Java bindings for the GNOME accessibility framework"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.gnome.org"
depends=('java-runtime' 'gtk2' 'at-spi' 'libbonobo' 'xorg-xprop')
makedepends=('intltool' 'pkgconfig' 'java-environment')
options=('!libtool')
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.26/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('5f08bba19531954cec82df1bcdb89df67ee890a4')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
